package com.dimples.dd.system.api.fallback;

import com.dimples.dd.system.api.TestFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2024/6/6
 */
@Component
@Slf4j
public class TestFeignFallbackClient implements TestFeignClient {
    @Override
    public String hello(String name) {
        log.error("dimples-server-system 服务出错");
        return "调用出错";
    }
}
